﻿using Ewell.Interface.Common.Model.Constant;
using Ewell.Interface.Common.Model.GateWay.Dto.Gaia;
using System;

namespace Ewell.Interface.Common.Model.GateWay.GateWayUriInfo
{
    public class InpEncounterDubboService : GateWayUri
    {
        public override string url => "dubbo/cc.ewell.his.gaia.service.inter.dubbo.InpEncounterDubboService";
        /// <summary>
        /// 病案首页查询
        /// </summary>
        public GateWayMethod queryMRinfo => new QueryMRinfo(url);
    }

    public class QueryMRinfo : GateWayMethod
    {
        public QueryMRinfo(string baseUrl) : base(baseUrl)
        {
        }

        public override string methodName => "queryMRinfo";

        public override string paramClass => "cc.ewell.his.gaia.upon.req.QueryMRinfoReq";

        public override DubboParamType paramType => DubboParamType.defaultParam;

        public override Type requestParamType => typeof(QueryMRinfoReq);

        public override Type responseParamType => typeof(QueryMRinfoResp);

        public override string desc => "[病案首页查询]";
    }
}
